﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Apodidae.Domain.Entity;
using ComDevFx.Arch.Base.Persister;

namespace Apodidae.Core
{
    public interface IClassService
    {
        #region 班级操作相关

        ClassInfo GetClassInfo(object id, GetType action);
        IList<ClassInfo> GetClassInfosByTeacherId(string teacherId);


        ClassInfo Save(ClassInfo entity);
        void SaveOrUpdate(ClassInfo entity);
        void Delete(ClassInfo entity);

        #endregion

        #region 小组操作相关

        GroupInfo GetGroupInfo(object id, GetType action);

        GroupInfo Save(GroupInfo entity);
        void SaveOrUpdate(GroupInfo entity);
        void Delete(GroupInfo entity);

        #endregion
    }
}
